var ENV = 'test' // 控制开关,dev 开发环境，release,master环境时改为prod
export default{
  pathUrl: function () {
    var URLS = {
      dev: {
        // imrest: '/apirestdev',
        // imapi: '/apiolddev',
        // imheal: '/apiimdev',
        // imapiwechat: '/imapiwechatdev',
        imrest: 'https://healthapi.mirror-networks.com/api/imrest',
        imapi: 'https://healthapi.mirror-networks.com/api/imrestcwi',
        imheal: 'https://imhealthdev.miaomore.com',
        imapiwechat: 'https://wechatapidev.morewellness.cn/web/api',
      },
      test:{
        // imrest: '/apirest',
        // imapi: '/apiold',
        // imheal: '/apiim',
        // imapiwechat: '/imapiwechat',
        imrest: 'https://healthapi.mirror-networks.com/api/imrest',
        imapi: 'https://healthapi.mirror-networks.com/api/imrestcwi',
        imheal: 'https://healthapi.mirror-networks.com/api/imrest',
        imapiwechat: 'https://wechatapitest.morewellness.cn/web/api',
      },
      prod: {
        // imrest: '/apirestprod',
        // imapi: '/apioldprod',
        // imheal: '/apiimprod',
        // imapiwechat: '/imapiwechatprod',
        imrest: 'https://healthapi.mirror-networks.com/api/imrest',
        imapi: 'https://healthapi.mirror-networks.com/api/imrestcwi',
        imheal: 'https://healthapi.mirror-networks.com/api/imrest',
        imapiwechat: 'https://wechatapi.morewellness.cn/web/api',
      }
    }
    return URLS[ENV];
  },
  ENV: ENV,
}